package com.itdaan.portal.common.util;

/**
 * HTML内容工具类
 * @author www.itdaan.com
 */
public class HtmlUtil {

	/**
	 * 删除html标记
	 * @param str
	 * @return
	 */
	public static String deleteHtmlTag(String str) {
		if (str == null) {
			return "";
		}
		str = str.replaceAll("</?[^>]+>", "").replace("&nbsp;", " ");
		return str;
	}
	
}
